package ${package.ServiceImpl};

<#--import ${package.Entity}.${entity};-->
import ${package.Mapper}.${table.mapperName};
import ${package.Service}.${table.serviceName};
import ${superServiceImplClassPackage};
import org.springframework.stereotype.Service;
import cn.sw.cloudmybatisplus.common.service.impl.BaseServiceImpl;


/**
*
* ${table.comment!} 服务实现类
* @author 张众森 (个人博客:https://)
* @date ${date}
* @tags 做一个优秀的全栈架构
*/
@Service
<#if kotlin>
open class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} {

}
<#else>
<#--    public class ${table.serviceImplName} extends BaseServiceImpl<${table.mapperName}, ${entity}> implements ${table.serviceName} {-->
public class ${table.serviceImplName} extends BaseServiceImpl<${table.mapperName}, ${entity},${entity}FormDto,${entity}QueryDto> implements ${table.serviceName} {

}
</#if>



<#--package ${package.ServiceImpl};-->

<#--import ${package.Entity}.${entity};-->
<#--import ${package.Mapper}.${table.mapperName};-->
<#--import ${package.Service}.${table.serviceName};-->
<#--import ${superServiceImplClassPackage};-->
<#--import org.springframework.stereotype.Service;-->

<#--/**-->
<#--*-->
<#--* ${table.comment!} 服务实现类-->
<#--* @author 张众森 (个人博客:https://www.cnblogs.com/qbbit)-->
<#--* @date ${date}-->
<#--* @tags 我爱的人在很远的地方, 我必须更加努力-->
<#--*/-->
<#--@Service-->
<#--<#if kotlin>-->
<#--open class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} {-->

<#--}-->
<#--<#else>-->
<#--public class ${table.serviceImplName} extends ${superServiceImplClass}<${table.mapperName}, ${entity}> implements ${table.serviceName} {-->

<#--}-->
<#--</#if>-->
